class SystemMonitor {
public:
    static int getCpuFrequency();
    // 其他方法...
};